	<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    <?php 
      $feat_image = wp_get_attachment_url( get_post_thumbnail_id($post->ID) ); 
      
      if($feat_image){
    ?>
      <img src="<?php echo $feat_image; ?>" />
    <?php }else{ echo 'none'; } ?>
    <hr />
    <?php the_title(); ?>
    <hr />
    <?php the_content(); ?>
	<?php endwhile; endif; ?>